from google.appengine.api import channel
from app.web import abstract

class Action(abstract.Action):
    
    def get(self):
        
        recipient = self.param("recipient")

        sender = self.param("sender")
        
        message = self.param("message")
        callback = self.param("callback")
        
        channel.send_message("test" + recipient, message)
        
        self.jsonp(True, callback)
